package com.lagou.excutor;

import com.lagou.config.Configuration;

import java.sql.SQLException;
import java.util.List;

public interface Executor {
    <E> List<E> query(Configuration configuration,String statementId, Object ... params) throws SQLException, Exception;

    int update(Configuration configuration, String statementId, Object... params) throws SQLException, ClassNotFoundException, NoSuchFieldException, Exception;
}
